
{include file="finance/common" /}
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="" style="margin-top:15px">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
            <span class="help-block">请输入类别名称，例如：软件销售、销售出货。</span>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" data-rule="length(~255, true)" class="form-control " rows="5" name="row[desc]" cols="50" placeholder="请输入{:__('desc')}"></textarea>
            <span class="help-block">输入该类别的描述信息或备注信息。</span>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
